package com.ecp.util;

import java.text.DecimalFormat;

public class NumberUtil {
	
	public static String numberFormat(String number) {
		DecimalFormat format = new DecimalFormat("#0.00");
		return format.format(new Double (number) );
	}
	
	public static String numberFormat(double number) {
		DecimalFormat format = new DecimalFormat("#0.00");
		return format.format(new Double (number) );
	}
	
	public static String numberFormat(int number) {
		DecimalFormat format = new DecimalFormat("#0.00");
		return format.format(new Double (number) );
	}
	
}
